package com.ccq;
/**
 * 枚举类型定义code/msg
 */
public enum ResultEum {
	Success("0000", "成功"),
	Erro("0001", "失败"),
	UnknownError("0002", "其他错误");

	private ResultEum(String code, String msg) {
		this.code = code;
		this.msg = msg;
	}

	private String code;
	private String msg;

	public String getCode() {
		return code;
	}

	public void setCode(String code) {
		this.code = code;
	}

	public String getMsg() {
		return msg;
	}

	public void setMsg(String msg) {
		this.msg = msg;
	}
	
}
